<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <base href="<%=basePath%>">

    <title>七星云注册</title>

    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <meta name="viewport"
          content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <script type="text/javascript" src="wangye/js/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="wangye/js/register.js"></script>
    <script type="text/javascript" src="wangye/js/md5.js"></script>

</head>
<body style="margin: 0;">
<div style="height: 19rem;width: 100%;background-color: rgb(243,152,1);line-height: 15rem;text-align: center;">
    <img src="wangye/img/logo_qx@2x.png" style="margin-top:4rem;height: 12rem;width: 12rem;">
</div>
<div style="width: 100%;text-align: center;">
    <form action=""  method="post">
        <table style="border: none;width: 80%;margin:2rem auto;">
            <tbody><tr>
                <td style="margin:1rem auto;height: 3rem;line-height: 3rem;width: 100%;background-color: rgb(237,237,237);border: none;border-radius: 0.5rem;">
                    <span style="color: rgb(243,152,1);float: left;font-size: 1rem;width: 5rem;font-weight: 600;margin-right: 0.2rem;" align="center">手 机 号</span>
                    <input type="tel" id="phone" name="phone" placeholder="请输入手机号" style="margin-right:-5rem;width: 64%;height: 3rem;line-height: 3rem;background-color: rgb(237,237,237);border: none;border-radius: 0.5rem;">
                </td>
            </tr>
            <tr style="height: 0.5rem;"></tr>
            <tr>
                <td style="margin:1rem auto;height: 3rem;line-height: 3rem;width: 100%;background-color: rgb(237,237,237);border: none;border-radius: 0.5rem;position: relative;">
                    <span style="color: rgb(243,152,1);float: left;font-size: 1rem;width:5rem;font-weight: 600;margin-right: 3rem;" align="center">验 证 码</span>
                    <input type="hidden" id="sec">
                    <input type="hidden" id="phonecode">
                    <input type="number" name="code" id="code" placeholder="请输入验证码" style="margin-left:-3rem;width: 32%;height: 3rem;line-height: 3rem;background-color: rgb(237,237,237);border: none;border-radius: 0.5rem;">
                    <span id="yzcode" style="/* margin-right: -6rem; */text-align:center;padding: 0rem 0.1rem 0rem 0.1rem;height: 2rem;line-height: 2rem;text-align: center;color: rgb(243,152,1);border:2px solid rgb(243,152,1);border-radius: 0.3rem;position: absolute;right: 2px;top: 7px;">获取验证码</span>
                </td>
            </tr>
            <tr style="height: 0.5rem;"></tr>
            <tr>
                <td style="margin:1rem auto;height: 3rem;line-height: 3rem;width: 100%;background-color: rgb(237,237,237);border: none;border-radius: 0.5rem;">
                    <span style="color: rgb(243,152,1);float: left;font-size: 1rem;width: 5rem;font-weight: 600;margin-right:0.2rem;" align="center">设置密码</span>
                    <input type="password" name="pass" id="password" placeholder="请输入密码" style="width: 64%;height: 3rem;line-height: 3rem;background-color: rgb(237,237,237);border: none;border-radius: 0.5rem;margin-right: -5rem;">
                </td>
            </tr>
            <tr style="height: 0.5rem;"></tr>
            <tr>
                <td style="margin:1rem auto;height: 3rem;line-height: 3rem;width: 100%;background-color: rgb(237,237,237);border: none;border-radius: 0.5rem;">
                    <span style="color: rgb(243,152,1);float: left;font-size: 1rem;width: 5rem;font-weight: 600;margin-right: 0.2rem;" align="center">确认密码</span>
                    <input type="password" id="regpassword" name="pass_again" placeholder="请确认输入密码" style="width: 64%;height: 3rem;line-height: 3rem;background-color: rgb(237,237,237);border: none;border-radius: 0.5rem;margin-right: -5rem;">
                </td>
            </tr>

            <tr style="height: 0.5rem;"></tr>
            <tr>
                <td style="margin:1rem auto;height: 3rem;line-height: 3rem;width: 100%;background-color: rgb(237,237,237);border: none;border-radius: 0.5rem;">
                    <span style="color: rgb(243,152,1);float: left;font-size: 1rem;width: 5rem;font-weight: 600;margin-right: -1rem;" align="center">邀 请 码</span>
                    <input type="text" id="invitcode" value="<%=request.getParameter("invitecode")%>" readonly="true" style="width: 64%;height: 3rem;line-height: 3rem;background-color: rgb(237,237,237);border: none;border-radius: 0.5rem;margin-left: 1.2rem;">
                </td>
            </tr>
            <tr style="height: 1rem;"></tr>
            <tr>
                <td style="color: rgb(237,237,237);width: 5rem;">
                    <div style="margin:0 auto;text-align:center;font-weight: 600;font-size: 0.6rem;width: 70%;">
                        商户注册请到个人页面点击申请开店或联系区域代理商
                    </div>
                </td>
            </tr>

            <tr style="height: 2rem;"></tr>

            <tr>
                <td id="register" style="font-size:1.3rem;color:white;margin:1rem auto;height: 3rem;line-height: 3rem;width: 100%;background-color: rgb(243,152,1);border: none;border-radius: 0.5rem; text-align: center;">注册</td>
            </tr>
            </tbody></table>
    </form>
</div>
<div id="dialogbtn" style="position: absolute; left: 20%; top: 25rem; background: gold; height: 6rem; width: 60%; color: white; border-radius: 1rem; text-align: center; line-height: 6rem; display: none;"><span id="dialogmsg">请输入验证码</span></div>

</body></html>